home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: Jane Harper <jharper@ix.netcom.com>
- Newsgroups: comp.lang.c
- Subject: Re: How do the functions in <time.h> work?
- Date: Sat, 20 Apr 1996 08:59:42 -0700
- Organization: Netcom
- Message-ID: <317909EE.648E@ix.netcom.com>
- References: <317653DA.5066@ix.netcom.com> <829950824snz@genesis.demon.co.uk>
- NNTP-Posting-Host: sjx-ca11-09.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NETCOM-Date: Sat Apr 20 11:02:26 AM CDT 1996
- X-Mailer: Mozilla 2.01 (Win95; U)
-
- Lawrence Kirby wrote:
- >
- > We can't tell what you did unless you post some code. ctime() takes an
- > argument which is a pointer to the time_t value you want to convert.
- > Presumably you didn't pass it such a pointer.
-
- About the immediate question of my code, you are correct. However, I'm
- at least as interested in *how* the functions work. What's time_t a
- typedef *for*? DOes it have other uses? The ctime() prototype mentions
- an argument "*timer" .. whazzat and what does *it* do? What type is it?
-
- Perhaps my real problem lies in my inability to understand completely
- the code within the <time.h> file ..
-
- Thanks.
-
- J.
-